import com.aliyuncs.exceptions.ClientException;
import com.chb.utils.SMSUtils;
import org.junit.Test;

/**
 * @author: 陈海彬
 * @date: Created in 2023/10/11 11:33
 * @description: 测试短信
 * @modified By:
 * @version: 1.0
 */
public class Demo01 {


    @Test
    public void t1() throws ClientException {
        SMSUtils.sendShortMessage("SMS_463632296", "17876370173", "1234");
    }

    @Test
    public void t2() {
        String ss = "/role/selectAllRole";
        int i = ss.lastIndexOf("/");
        System.out.println(ss.substring(ss.lastIndexOf("/") + 1));
    }
}